/******************************************************************************************
 * Import
 ******************************************************************************************/

// module
import React, {Component} from 'react';
import {View} from 'react-native';
import { Tabs, Button, Toast, Icon  } from 'antd-mobile-rn';

// project
import {
    CAround, CBetween, CCenter, CColumn, CHand, CItemX, CItemY, CLine, CRow, CWrap, 
    CIcon, CImage, CSvg, CText,
    CContent, CFloat, CFooter, CHeader, CPage, CSide, 
    CEmpty, CError, CFail, CSkeleton, 
    CLabel, CButton
} from '../../../../library/comp';

import Licon from '../../../../library/comp/project/icon';


/******************************************************************************************
 * Export Class
 ******************************************************************************************/

export default class Elevatpay extends Component {

	/*------------------------------------------------------------------------------------
	 * 初始化
	 *-----------------------------------------------------------------------------------*/
	constructor(props){
		super(props)
		// this.Nav = this.props.navigation;

		/**
		 * state
		 */
		this.state = {
		
		}

    }

	/*------------------------------------------------------------------------------------
	 * 自定义方法
	 *-----------------------------------------------------------------------------------*/

	/*------------------------------------------------------------------------------------
	 * 渲染
	 *-----------------------------------------------------------------------------------*/
	render() {
		return (
			<CPage>

				<CContent mt='80' bg='#efeff4'>
					<View style={{
						paddingTop: 10,
						paddingBottom: 20,
						paddingLeft: 10,
						paddingRight: 10,
						backgroundColor: '#fff',
						marginTop: 20,
						marginLeft: 15,
						marginRight: 15,
						borderRadius: 4
					}}>

                        <View style={{backgroundColor:'#fff',marginLeft:30,marginRight:30,marginTop:30,borderTopRightRadius:5,borderTopLeftRadius:5}}>
                            <View style={{padding:15}}>
                                <CRow mt='20' mb='16' pb='16'>
                                    <CItemY f='1' y='center' x="center">
                                        <CText size='32' color="#666">您需要缴费</CText>
                                        <CHand y="center">
                                            <CText size='60'>￥</CText>
                                            <CText size='150'>500</CText>
                                        </CHand>
                                    </CItemY>
                                </CRow>
                            </View>

                            {/* 缴费按钮 */}
                            <View style={{ marginTop:10 }}>
                                <CHand  bg='#21ac43' x="center" y="center" ra='10' h='90' onClick={this.open}><CText size="32" bold color='#fff'>立即缴费</CText></CHand>
                            </View>
                        </View>


					</View>

				</CContent>
				
                {/* 顶部 star */}
                <CHeader h='96' y='center' bg='#fff' style={{ borderBottomColor:"#eee", borderBottomWidth:1 }}>
                    <CBetween px='20'>
                        <CHand  onPress={(e)=> {
                            this.Nav.goBack()
                        }}>
                            <Icon type='left' size='md' color='#00CC66' />
                        </CHand>

                        <CText size='34'>电梯费</CText>
                        <CHand w='44' h='44'></CHand>
                    </CBetween>
                </CHeader>
                {/* 顶部 star */}

			</CPage>
		);
	}
}
